platform :ios, '11.0'

use_frameworks!

workspace 'BrickSet.xcworkspace'

target 'BrickSet_Example' do
  project 'BrickSet.xcodeproj'
  # 屏蔽所有警告
  inhibit_all_warnings!
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!
  
  pod 'BrickSet', :path => '../'
end

target 'SomeSDK' do
  project 'SomeSDK/SomeSDK.xcodeproj'
  # 屏蔽所有警告
  inhibit_all_warnings!
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!
  
  pod 'BrickSet', :path => '../'
end

post_install do |installer|
  #
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      
      # 最低支持系统版本iOS11
      if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 11.0
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
      end
      
      # 'CLANG_WARN_DOCUMENTATION_COMMENTS' = NO
      config.build_settings['CLANG_WARN_DOCUMENTATION_COMMENTS'] = 'NO' # 关闭文档警告
    end
    
  end
  
end
